package com.giantlizard.cloud.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关服务启动类
 * 
 * @author GiantLizard
 */
@SpringBootApplication(scanBasePackages = {
    "com.giantlizard.cloud.gateway.*",
    "com.giantlizard.cloud.common.security.*",
    "com.giantlizard.cloud.redis.*"
    }
)
@EnableDiscoveryClient  // 启用服务注册与发现
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
} 